package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司信息管理对象 sys_company_info
 * 
 * @author ruoyi
 * @date 2022-03-10
 */
public class SysCompanyInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公司序号 */
    private Long companyInfoId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 法人 */
    @Excel(name = "法人")
    private String legalName;

    /** 法人身份证号 */
    @Excel(name = "法人身份证号")
    private Long legalId;

    /** 纳税税号 */
    @Excel(name = "纳税税号")
    private String taxId;

    /** 地址 */
    @Excel(name = "地址")
    private String companyAddress;

    /** 成立日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成立日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date setDate;

    /** 注册资本（万） */
    @Excel(name = "注册资本", readConverterExp = "万=")
    private String capital;

    /** 财务联系人 */
    @Excel(name = "财务联系人")
    private String accontingName;

    /** 公司性质 */
    @Excel(name = "公司性质")
    private String taxType;

    /** 基本户信息 */
    @Excel(name = "基本户信息")
    private Long basicacountId;

    /** 一般户1 */
    @Excel(name = "一般户1")
    private Long generalacount1Id;

    /** 一般户2 */
    @Excel(name = "一般户2")
    private Long generalacount2Id;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creatBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    /** 假删除判定值0：删除1：未删除 */
    private Long delFlag;

    public void setCompanyInfoId(Long companyInfoId) 
    {
        this.companyInfoId = companyInfoId;
    }

    public Long getCompanyInfoId() 
    {
        return companyInfoId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setLegalName(String legalName) 
    {
        this.legalName = legalName;
    }

    public String getLegalName() 
    {
        return legalName;
    }
    public void setLegalId(Long legalId) 
    {
        this.legalId = legalId;
    }

    public Long getLegalId() 
    {
        return legalId;
    }
    public void setTaxId(String taxId) 
    {
        this.taxId = taxId;
    }

    public String getTaxId() 
    {
        return taxId;
    }
    public void setCompanyAddress(String companyAddress) 
    {
        this.companyAddress = companyAddress;
    }

    public String getCompanyAddress() 
    {
        return companyAddress;
    }
    public void setSetDate(Date setDate) 
    {
        this.setDate = setDate;
    }

    public Date getSetDate() 
    {
        return setDate;
    }
    public void setCapital(String capital) 
    {
        this.capital = capital;
    }

    public String getCapital() 
    {
        return capital;
    }
    public void setAccontingName(String accontingName) 
    {
        this.accontingName = accontingName;
    }

    public String getAccontingName() 
    {
        return accontingName;
    }
    public void setTaxType(String taxType) 
    {
        this.taxType = taxType;
    }

    public String getTaxType() 
    {
        return taxType;
    }
    public void setBasicacountId(Long basicacountId) 
    {
        this.basicacountId = basicacountId;
    }

    public Long getBasicacountId() 
    {
        return basicacountId;
    }
    public void setGeneralacount1Id(Long generalacount1Id) 
    {
        this.generalacount1Id = generalacount1Id;
    }

    public Long getGeneralacount1Id() 
    {
        return generalacount1Id;
    }
    public void setGeneralacount2Id(Long generalacount2Id) 
    {
        this.generalacount2Id = generalacount2Id;
    }

    public Long getGeneralacount2Id() 
    {
        return generalacount2Id;
    }
    public void setCreatBy(String creatBy) 
    {
        this.creatBy = creatBy;
    }

    public String getCreatBy() 
    {
        return creatBy;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyInfoId", getCompanyInfoId())
            .append("companyName", getCompanyName())
            .append("legalName", getLegalName())
            .append("legalId", getLegalId())
            .append("taxId", getTaxId())
            .append("companyAddress", getCompanyAddress())
            .append("setDate", getSetDate())
            .append("capital", getCapital())
            .append("accontingName", getAccontingName())
            .append("taxType", getTaxType())
            .append("basicacountId", getBasicacountId())
            .append("generalacount1Id", getGeneralacount1Id())
            .append("generalacount2Id", getGeneralacount2Id())
            .append("creatBy", getCreatBy())
            .append("creatTime", getCreatTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .toString();
    }
}
